package com.csi.domain;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.sql.Timestamp;

/**
 * 岗位调动表
 */
@Data
@Schema(description = "岗位调动信息模型")
public class JobMove {

    @Schema(description = "岗位调动记录的唯一标识符", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private long id; // 岗位调动表id

    @Schema(description = "修改时间", requiredMode = Schema.RequiredMode.REQUIRED,
            type = "string", format = "date-time", example = "2024-12-03T11:21:00.000+08:00")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Timestamp modifyTime; // 修改时间

    @Schema(description = "修改内容", requiredMode = Schema.RequiredMode.REQUIRED, example = "从销售部调至市场部")
    private String modifyInfo; // 修改内容

    @Schema(description = "关联的员工ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    private long employeeId; // 员工id

    @Schema(description = "修改人ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "3")
    private long modifyId; // 修改人id
}